package com.jof.framework.hmc.domain;

import com.thoughtworks.xstream.annotations.XStreamAlias;

/**
 * @author shanjing
 * 收件人信息/抄送人信息/密送人信息
 */
@XStreamAlias("recipient")
public class Recipient {

	/**
	 * 邮件地址
	 */
	@XStreamAlias("email_address")
	private String emailAddress;

	/**
	 * 用户名称
	 */
	@XStreamAlias("user_name")
	private String userName;

	public Recipient() {
	}

	public Recipient(String emailAddress, String userName) {
		this.emailAddress = emailAddress;
		this.userName = userName;
	}

	public String getEmailAddress() {
		return emailAddress;
	}

	public void setEmailAddress(String emailAddress) {
		this.emailAddress = emailAddress;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

}
